/*
* @Date: 2020/4/16
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/
import React from 'react';
import './index.scss';

export default class extends React.Component {
  constructor(props) {
    super(props);
    this.ref = React.createRef();
  }

  render() {
    const { childRender } = this.props;
    return (
      <div className="view-box-border">
        <div ref={this.ref} className="view-box sortable">
          { childRender }
        </div>
      </div>

    )
  }
}
